Imports System.Windows.Forms
Imports System.Data.SqlClient

Public Class frmReportViewer
    Private m_report As Object

    Public Sub New(ByVal nnreport As Object)

        ' This call is required by the Windows Form Designer.
        InitializeComponent()

        ' Add any initialization after the InitializeComponent() call.
        m_report = nnreport
    End Sub

    Private Sub frmReportViewer_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        CrystalReportViewer1.ReportSource = m_report
    End Sub
End Class